package com.sunny.design.command.ftp;

/**
 * @author Sunny
 * @date 2020/3/16
 */
public class Test {
    public static void main(String[] args) {
        FTPController ftpController = new FTPController();

        FTPService ftpService = new FTPService();

        ftpController.execute(new DownLoadCommand(ftpService));
        System.out.println("==========================================");

        ftpController.addAction(new UpLoadCommand(ftpService));
        ftpController.addAction(new DownLoadCommand(ftpService));

        ftpController.executes();
    }
}
